package com.myGisChannel.command;

import java.io.Serializable;

import org.springframework.web.multipart.commons.CommonsMultipartFile;

import com.myGis.entities.Project;


public class LayerCreateCommand implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String idProject;
	private String layerName;

	private CommonsMultipartFile shape;
	private CommonsMultipartFile shx;
	private CommonsMultipartFile dbf;
	private CommonsMultipartFile prj;
	
	private Project selectedProject;
	private String typeLayer;

	// Properties usadas para los simpleField.
	private String dinamicInputNameHidden;
	private String dinamicInputTypeHidden;
	
	private String marketSelected;
	
	//Flag que indica que estamos editando una customLayer
	private Boolean edit = new Boolean(false);

	/**
	 * @return the idProject
	 */
	public String getIdProject() {
		return idProject;
	}

	/**
	 * @param idProject the idProject to set
	 */
	public void setIdProject(String idProject) {
		this.idProject = idProject;
	}

	/**
	 * @return the layerName
	 */
	public String getLayerName() {
		return layerName;
	}

	/**
	 * @param layerName the layerName to set
	 */
	public void setLayerName(String layerName) {
		this.layerName = layerName;
	}

	/**
	 * @return the shape
	 */
	public CommonsMultipartFile getShape() {
		return shape;
	}

	/**
	 * @param shape the shape to set
	 */
	public void setShape(CommonsMultipartFile shape) {
		this.shape = shape;
	}

	/**
	 * @return the selectedProject
	 */
	public Project getSelectedProject() {
		return selectedProject;
	}

	/**
	 * @param selectedProject the selectedProject to set
	 */
	public void setSelectedProject(Project selectedProject) {
		this.selectedProject = selectedProject;
	}

	/**
	 * @return the dinamicInputNameHidden
	 */
	public String getDinamicInputNameHidden() {
		return dinamicInputNameHidden;
	}

	/**
	 * @param dinamicInputNameHidden the dinamicInputNameHidden to set
	 */
	public void setDinamicInputNameHidden(String dinamicInputNameHidden) {
		this.dinamicInputNameHidden = dinamicInputNameHidden;
	}

	/**
	 * @return the dinamicInputTypeHidden
	 */
	public String getDinamicInputTypeHidden() {
		return dinamicInputTypeHidden;
	}

	/**
	 * @param dinamicInputTypeHidden the dinamicInputTypeHidden to set
	 */
	public void setDinamicInputTypeHidden(String dinamicInputTypeHidden) {
		this.dinamicInputTypeHidden = dinamicInputTypeHidden;
	}

	/**
	 * @return the typeLayer
	 */
	public String getTypeLayer() {
		return typeLayer;
	}

	/**
	 * @param typeLayer the typeLayer to set
	 */
	public void setTypeLayer(String typeLayer) {
		this.typeLayer = typeLayer;
	}

	/**
	 * @return the shx
	 */
	public CommonsMultipartFile getShx() {
		return shx;
	}

	/**
	 * @param shx the shx to set
	 */
	public void setShx(CommonsMultipartFile shx) {
		this.shx = shx;
	}

	/**
	 * @return the dbf
	 */
	public CommonsMultipartFile getDbf() {
		return dbf;
	}

	/**
	 * @param dbf the dbf to set
	 */
	public void setDbf(CommonsMultipartFile dbf) {
		this.dbf = dbf;
	}

	/**
	 * @return the prj
	 */
	public CommonsMultipartFile getPrj() {
		return prj;
	}

	/**
	 * @param prj the prj to set
	 */
	public void setPrj(CommonsMultipartFile prj) {
		this.prj = prj;
	}

	/**
	 * @return the edit
	 */
	public Boolean getEdit() {
		return edit;
	}

	/**
	 * @param edit the edit to set
	 */
	public void setEdit(Boolean edit) {
		this.edit = edit;
	}

	/**
	 * @return the marketSelected
	 */
	public String getMarketSelected() {
		return marketSelected;
	}

	/**
	 * @param marketSelected the marketSelected to set
	 */
	public void setMarketSelected(String marketSelected) {
		this.marketSelected = marketSelected;
	}
}
